using NodeCanvas.Framework;
using ParadoxNotion.Design;

namespace Yoozoo.Gameplay.City.AI.Node
{
    [Category("Ggame/City")]
    public class SetAnimatorBool : AIBaseNode
    {
        [RequiredField]
        public BBParameter<string> boolName;
        public BBParameter<bool> boolValue = true;
        
        protected override void OnExecute()
        {
            _animator.SetBool(boolName.value,boolValue.value);
            EndAction(true);
        }
        
    }
}